package com.dw.etl.core.api;

import java.util.List;

import com.dw.etl.common.base.BaseException;
import com.dw.etl.common.vo.PaginationVO;
import com.dw.etl.core.bean.model.EtlBaseField;

/**
 * etlBaseField服务类
 * Created by hozeData on 2021/05/28.
 */
public interface EtlBaseFieldService {

    List<EtlBaseField> findByModel(EtlBaseField etlBaseField);

    PaginationVO<EtlBaseField> findPageByModel(EtlBaseField etlBaseField, Integer pageNum, Integer pageSize);

    EtlBaseField getById(String idFld);

    int insert(EtlBaseField etlBaseField);

    int insertSelective(EtlBaseField etlBaseField);

    int updateByIdSelective(EtlBaseField etlBaseField);

    int updateById(EtlBaseField etlBaseField);

    int deleteById(String idFld);

    List<EtlBaseField> findFieldMsg(String idBase) throws BaseException;

    int save(List<EtlBaseField> list);

    int deleteByIdBase(String idBase);
}
